package com.lax.advertmgt;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient //这个注解是让微服务可以被注册中心发现，注册到注册中心的服务都是一个客户端(注册中心也有可能是客户端
@EnableFeignClients
public class AdvertMgtApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdvertMgtApplication.class, args);
    }

}
